package uk.co.caistealcourt.intellij.plugins.mavenone;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationManager;

public class SayHelloAction extends AnAction {
    public void actionPerformed(AnActionEvent e) {
        Application app = ApplicationManager.getApplication();
        FirstAppComponent firstAppComponent = app.getComponent(FirstAppComponent.class);
        firstAppComponent.sayHello();
    }
}
